package com.yami.shop.bean.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RedPacketInfoVo implements Serializable {

    @Schema(description = "年分组")
    private String year;

    @Schema(description ="发出/收到类型")
    private String title;

    @Schema(description = "红包数量")
    private Integer count =1;

    @Schema(description = "红包总共个数")
    private Integer totalPacket;

    @Schema(description = "剩余红包个数")
    private Integer remainingPacket;

    @Schema(description = "红包总金额")
    private String totalAmount;


    private List<RedPacketInfoUserVo> userRecords;
}
